package com.design.pattern.adapter;

import com.design.pattern.adapter.classpattern.PhoneA;
import com.design.pattern.adapter.objectpattern.NoteBook;

/**
 * 适配器模式
 * @author liangliang
 */
public class AdapterPattern {
    public static void main(String[] args) {
        PhoneA.power();
        NoteBook.power();
    }
}
